= paginate @cars
table.table.table-inverse.table-striped.table-bordered.table-hover
  thead
    tr
      th 车牌号
      th 进入时间
      th 离开时间
      th 停车费
  tbody
    - @cars.each do |car|
      tr
        td = car.car_code
        td = car.created_at.strftime('%F %T')
        td = car.leaved_at.strftime('%F %T')
        td = car.cost
